package com.then.basic.socket.data;

/**
 * Created by 42524 on 2018/1/16.
 */

public class ProtocolCode {

    public final static int SEND_PACKAGE_FAIL = 1000;
    public final static int READ_PACKAGE_FAIL = 1001;
    public final static int READ_SOCKET_DISCONNECTED = 1002;
    public final static int HTTP_CONNECT_FAIL = 1003;
    public final static int HTTP_CONNECT_SUCCESS = 1004;
    public final static int HTTP_TIP_CLOSE = 1005;
    public final static int TCP_RESOURCE_LOGIN_COMPLETED = 1006;


    public final static int REQ_LOGIN_LOGINSERVER = 1;
    public final static int REQ_LOGIN_RESOURCESERVER = 2;
    public final static int REQ_CHECK_VERSION = 3;


    public final static int REQ_QUICK_GAME_SERVER = 40;
    public final static int REQ_QUICK_GAME = 41;
    public final static int REQ_ROOM_LIST_MATCH = 42;
    public final static int REQ_ROOM_LIST_NORMAL = 43;
    public final static int REQ_ENTER_ROOM = 44;
    public final static int REQ_SEAT_ACTION = 45;
    public final static int REQ_SEND_ACTION = 47;
    public final static int REQ_RECV_ACTION = 49;
    public final static int REQ_RECV_LEAVE = 50;
    public final static int REQ_RECV_SIT_DOWN = 51;
    public final static int REQ_RECV_SYSTEM_CARDS = 52;
    public final static int REQ_RECV_WINNER = 53;
    public final static int REQ_TIMEOUT_BACK = 54;
    public final static int REQ_RECV_READYTIME = 55;
    public final static int REQ_RECV_START_INFOR = 56;
    public final static int REQ_ADD_CHIPS = 57;
    public final static int REQ_RECV_PLAYER_MSG = 58;
    public final static int REQ_RECV_CONNECT_AGAIN = 59;
    public final static int REQ_SEARCH_ROOM = 60;
    public final static int REQ_RECV_MATCH_OUT = 61;
    public final static int REQ_PLAYER_DATA = 62;
    public final static int REQ_GAME_USE_GIFT = 63;
    public final static int REQ_GET_COUNTDOWN_HONUS = 64;
    public final static int REQ_GET_REFRESH_DATA = 65;
    // 新增返回人数
    public final static int REQ_GET_PEOPLE_DATA = 66;
    public final static int REQ_ROOM_START_GAME = 67;
    public final static int REQ_ROOM_GAME_ENDED = 68;
    public final static int REQ_ROOM_TAKE_IN_CONTROL_SWITCH = 69;
    public final static int REQ_ROOM_TAKE_IN_CONTROL_PERMIT = 70;
    public final static int REQ_ROOM_TAKE_IN_RANGE_CHANGE = 71;
    public final static int REQ_RECV_PLAYER_CARDS = 72;

    //申请亮牌
    public final static int REQ_SHOWDOWN = 73;
    // http上传头像
    public final static int REQ_UPLOAD_HEAD = 74;

    public final static int REQ_NEW_MSG = 90;
    public final static int REQ_GET_MSG = 91;
    public final static int REQ_GET_RANKING = 92;
    public final static int REQ_FEEDBACK = 94;
    public final static int REQ_SHARE_CONTENT = 95;
    public final static int REQ_SIGNAL_RESOURCE = 96;
    public final static int REQ_SIGNAL_GAME = 97;
    public final static int REQ_CONVERT = 98;
    public final static int REQ_OFFLINE = 99;
    public final static int REQ_FREECHIPS = 100;
    public final static int REQ_TASKLIST = 101;
    public final static int REQ_GET_TASK_HONUS = 102;
    public final static int REQ_GET_ACTIVITY = 103;
    public final static int REQ_GET_ACTIVITY_HONUS = 104;
    public final static int REQ_NOTICE_INFOR = 105;
    public final static int REQ_SHARE_HONUS = 106;
    public final static int REQ_STORE_DATA = 107;
    public final static int REQ_STORE_BAG = 108;
    public final static int REQ_USE_BAG_GOOD = 109;
    public final static int REQ_STORE_CONVERT = 110;

    //获取mtt战绩列表
    public final static int REQ_RECORD_MTT_LIST = 113;

    /*144、145 为普通充值用*/
    public final static int GET_RECHARGE_RESULT = 145;
    public final static int GET_RECHARGE_ORDER = 144;
    // 开始发牌之前，有前注和straddle
    public final static int REQ_START_GAME_BEFORE = 156;
    // straddle request
    public final static int REQ_STRADDLE_REQUEST = 157;
    // 托管消息
    public final static int REQ_TRUST_STATUS = 158;
    // 解散牌局消息
    public final static int REQ_DISMISS_MESSAGE = 159;

    //6+的撤码协议
    public final static int REQ_WITHDRAW_CHIPS = 1500;

    //6+的撤码结果协议
    public final static int REQ_WITHDRAW_CHIPS_RESULT = 1501;

    public final static int GAME_END_SHOW_POKER=1503;

    // 手机号登陆注册相关
    public final static int REQ_Login_With_Phone_Num = 300;

    //创建房间的请求ID
    public final static int REQ_CREATE_GROUP_ROOM = 180;
    //加入房间的请求ID
    public final static int REQ_ADD_GROUP_ROOM = 181;
    //房主解散房间
    public final static int REQ_ROOM_STATUS = 182;
    //请求房间列表
    public final static int REQ_ROOM_LIST = 183;
    //请求系统消息
    public final static int REQ_SYSTEM_INFO = 184;
    //请求实时战况
    public final static int REQ_SITUATION_INFO = 185;
    //牌桌请求延时
    public final static int REQ_ADD_TIME = 186;
    // 牌桌请求暂停
    public final static int REQ_PAUSE_GAME = 187;
    // 战绩时间线列表
    public final static int REQ_RECORD_LIST = 188;
    // 战绩详情(普通局)
    public final static int REQ_RECORD_DETAIL = 189;
    // 修改资料
    public final static int REQ_MODIFY_PROFILE = 190;
    // 修改账号绑定
    public final static int REQ_SET_BINDING_INFO = 190000;

    // 上局回顾
    public final static int REQ_GAME_PREV_GAME_REVIEW = 191;
    // 牌谱列表
    public final static int REQ_GAME_SPECTRUM = 192;
    // 用户战绩统计
    public final static int REQ_PERSON_GAME_STATISTICS = 193;
    // 某房间战绩统计
    public final static int REQ_GAME_ROOM_STATISTICS = 194;
    // 请求扣除积分
    public final static int REQ_DEDUCTION_CHIPS = 195;
    // 请求领取奖励（签到）
    public final static int REQ_GET_REWARDS = 196;
    // 房间设置
    public final static int REQ_ROOM_CONTROL = 197;

    // 有人申请了带入，并且此带入有时限（仅通知房主）
    public final static int REQ_NEW_ADD_IN_WITH_TIMEOUT = 200;
    // 获取带有时限的申请带入列表（仅给房主）
    public final static int REQ_GET_ADD_IN_WITH_TIMEOUT = 201;
    // 带有时限的申请带入请求已超时（仅通知房主）
    public final static int REQ_ADD_IN_TIMEOUT = 202;
    // 已阅带时限的申请带入（仅房主可用）
    public final static int REQ_ADD_IN_LIST_READ = 203;
    // 同意/拒绝 带时限的请求（仅房主可用）
    public final static int REQ_PERMIT_ADD_IN_LIST = 204;

    // 获取消息数量
    public final static int REQ_MESSAGE_COUNT = 205;
    // 获取消息列表
    public final static int REQ_MESSAGE_LIST = 206;
    // 消息已读回应
    public final static int REQ_MESSAGE_READ = 207;
    // 单个消息推送
    public final static int REQ_MESSAGE_SEND = 208;
    // 设置收藏牌谱
    public final static int REQ_SET_SPECTRUM_TYPE = 209;
    // 设置牌谱名称
    public final static int REQ_SET_SPECTRUM_NAME = 210;


    // 在牌局中收藏牌谱
    public final static int REQ_SET_SPECTRUM_FAVORITE = 217;

    // 收集积分
    public final static int REQ_COLLECT_USERS_CHIPS = 220;

    // 获取房间类型
    public final static int REQ_ROOM_TYPE = 221;

    // 过庄或补盲的请求
    public final static int REQ_WAIT_OR_POST = 222;

    // 获取IM中俱乐部和好友请求的未读计数
    public final static int REQ_GET_IM_UNREAD_NUM = 223;

    //-----房主方
    // 控制带入普通推送
    public final static int REQ_CLIENT_CTRL_COMMON_PUSH = 230;
    // 请求控制带入记录
    public final static int REQ_GET_CLIENT_REQ_RECORD = 231;
    // 控制带入过期通知
    public final static int REQ_GAME_OVER_NOTICE = 232;
    // 已阅上报，由房主上报
    public final static int REQ_CLIENT_READ_ALREADY = 233;
    // 房主同意/拒绝请求
    public final static int REQ_PORCESS_MESSAGE = 234;

    //-----请求方
    // 自己控制带入的请求结果推送
    public final static int REQ_MINE_REQ_RESULT_PUSH = 235;
    // 请求自己控制带入记录
    public final static int REQ_GET_MINE_REQ_RECORD = 236;

    /* 保险 */
    // 触发保险
    public final static int REQ_INSURANCE_BEGIN_BUY = 400;
    // 投保及反馈
    public final static int REQ_INSURANCE_BUY = 401;
    // 赔付下发
    public final static int REQ_GET_INSURANCE_PAY = 402;
    // 投保加时
    public final static int REQ_INSURANCE_ADD_TIME = 403;
    // 保险模式无法触发（OUTS==0 || OUTS>14)
    public final static int REQ_INSURANCE_TRIGGER_ERROR = 404;

    // 请求下发下张公共牌
    public static final int REQ_PAY_NEXT_PUBLIC_CARD = 410;

    // 系统通知清空牌桌
    public static final int REQ_CLEAR_GAME_TABLE = 411;

    // 请求离座留桌
    public static final int REQ_KEEP_SEAT = 412;

    // 请求延长牌桌时间
    public static final int REQ_DELAY_ROOM_TIME = 413;

    /* MTT系列消息*/
    // 创建MTT
    public final static int REQ_CREATE_MTT = 501;
    // 加入mtt房间
    public final static int REQ_ADD_MTT_MATCH = 503;

    // 服务器主动下发的mtt排名
    public final static int REQ_MTT_SELF_RANKING = 505;
    // mtt的排名统计
    public final static int REQ_MTT_SITUATION_RANKING = 506;
    // mtt的盲注统计
    public final static int REQ_MTT_SITUATION_BLIND = 507;
    // mtt的奖励统计
    public final static int REQ_MTT_SITUATION_REWARD = 508;
    // 参赛mtt所有人员名单
    public final static int REQ_MTT_ALL_PEOPLE = 509;
    // mtt牌局的系统消息
    public final static int REQ_MTT_SYSTEM_NOTIFY = 510;
    // mtt牌局中重购请求
    public final static int REQ_MTT_REBUY_SCORE = 511;
    // mtt牌局中重购钻石兑换
    public final static int REQ_MTT_JEWEL_CONVERT_SCORE = 512;
    // mtt牌局中增购请求
    public final static int REQ_MTT_APPEND_SCORE = 513;
    // mtt牌局中房主的通知
    public final static int REQ_MTT_MASTER_NOTIFY = 514;
    // 进入mtt的比赛
    public final static int REQ_MTT_ENTER_ROOM = 544;
    // mtt每局开局前的消息
    public final static int REQ_MTT_RECV_START_INFOR = 556;

    // mtt比赛开始的消息
    public final static int REQ_MTT_ROOM_START_GAME = 567;

    //MTT比赛结束，第一名产生
    public final static int REQ_MTT_GAME_ENDING = 569;

    //拆桌通知
    public final static int REQ_MTT_DISMANTLING_TABLE = 570;

    //重购开启通知
    public final static int REQ_MTT_REBUY_NOTIFY = 571;

    //mtt比赛结束（除了第一名以外的都会发）
    public final static int REQ_MTT_GAME_END_NOTIFY = 575;

    // 请求MTT房间信息
    public final static int REQ_MTT_ROOM_INFO = 588;
    // 请求MTT盲注信息
    public final static int REQ_MTT_BLIND_INFO = 589;
    // 请求MTT奖励信息
    public final static int REQ_MTT_REWARD_INFO = 590;
    // 请求MTT报名接口
    public final static int REQ_MTT_APPLY_JOIN = 521;
    // MTT管理页管理玩家列表
    public final static int REQ_MTT_MANAGE_PLAYER = 522;

    public final static int REQ_MTT_NEW_APPLY = 523;

    //MTT管理页RA明细
    public final static int REQ_MTT_RA_DETAIL = 524;

    //MTT退赛
    public final static int REQ_MTT_QUIT = 525;

    public final static int REQ_MANAGE_OPERATE = 520;

    // mtt比赛提醒
    public final static int REQ_MTT_REMIND = 526;

    // mtt 比赛观众
    public final static int REQ_MTT_USER = 572;

    // mtt 比赛房间
    public final static int REQ_MTT_ROOM = 573;

    // 获取MTT比赛的列表
    public final static int REQ_DISCOVER_MTT_LIST = 600;

    // 获取MTT比赛审核结果推送
    public final static int REQ_DISCOVER_MTT_CHECK_RESULT = 601;

    // 战绩详情(Mtt局)
    public final static int REQ_RECORD_MTT_DETAIL = 602;


    public final static int REQ_RECORD_STATISTICS_MTT = 603;

    //解散mtt房间
    public final static int REQ_CLOSE_MTT_ROOM = 604;

    // 战绩盈利数据
    public final static int REQ_RECORD_EARN_DATA = 622;
    // 战绩all—in数据
    public final static int REQ_RECORD_ALL_IN_DATA = 623;
    // 用户战绩统计(NEW)
    public final static int REQ_PERSON_BASE_DATA = 624;

    /* SNG系列消息*/
    // 创建SNG
    public final static int REQ_CREATE_SNG = 701;
    // 加入SNG
    public final static int REQ_ADD_SNG = 702;
    // 请求人物头像
    public final static int REQ_SNG_HEAD_ICON = 703;
    // 报名
    public final static int REQ_SNG_PLAYER_APPLY = 704;
    // sng牌局请求实时战况
    public final static int REQ_SNG_SITUATION_RANKING = 705;
    // sng升盲消息
    public final static int REQ_SNG_RAISE_BLIND = 706;
    // sng个人排名
    public final static int REQ_SNG_SELF_RANKING = 707;
    // sng比赛详情
    public final static int REQ_SNG_DETAIL = 708;
    // 获取sng战绩列表
    public final static int REQ_SNG_RECORD_LIST = 710;
    // sng消息通知
    public final static int REQ_SNG_NOTICE_REMIND = 711;
    // 进入sng桌面
    public final static int REQ_SNG_ENTER_ROOM = 744;
    // sng托管消息
    public final static int REQ_SNG_TRUST_STATUS = 758;
    // sng结束战绩
    public final static int REQ_SNG_ROOM_GAME_ENDED = 768;
    // 牌桌请求延时
    public final static int REQ_SNG_ADD_TIME = 786;

    /* omaha系列消息*/
    // 创建OMAHA
    public final static int REQ_CREATE_OMAHA = 801;
    // 加入OMAHA
    public final static int REQ_ADD_OMAHA = 802;
    // omaha进入enterroom
    public final static int REQ_OMAHA_ENTER_ROOM = 844;
    // omaha赢牌下发
    public final static int REQ_OMAHA_RECV_WINNER = 853;
    // omaha发牌通知
    public final static int REQ_OMAHA_RECV_START_INFOR = 856;
    // omaha allin下发手牌
    public final static int REQ_OMAHA_RECV_PLAYER_CARDS = 872;
    // omaha申请亮牌
    public final static int REQ_OMAHA_SHOWDOWN = 873;

    /* 大菠萝系列消息*/
    // 创建大菠萝
    public final static int REQ_CREATE_PINEAPPLE = 901;
    // 加入大菠萝
    public final static int REQ_ADD_PINEAPPLE = 902;
    // 大菠萝进入enterroom
    public final static int REQ_PINEAPPLE_ENTER_ROOM = 944;
    // 系统首次发牌，5张或范特西
    public final static int REQ_PINEAPPLE_RECV_START_INFOR = 956;
    // 接收每轮发牌，3张
    public final static int REQ_PINEAPPLE_RECV_CARDS = 957;
    // 玩家点击确定,确认摆好
    public final static int REQ_PINEAPPLE_CONFIRM_CLICK = 958;
    // 接收其它玩家的摆牌
    public final static int REQ_PINEAPPLE_RECV_RESULT = 959;
    // 每局下发的结果
    public final static int REQ_PINEAPPLE_GAME_RESULT = 960;
    // 开始下一局的按钮点击
    public final static int REQ_PINEAPPLE_START_NEXT_HAND = 962;
    // 范特西摆牌展示
    public final static int REQ_PINEAPPLE_FANTASY_CARDS = 963;
    // 牌局结束页
    public final static int REQ_PINEAPPLE_ROOM_GAME_ENDED = 968;


}
